<template>
    <div class="toolbar">
        <div class="toolbar-left">
            <slot name="left"></slot>
        </div>
        <div class="toolbar-center">
            <slot name="center"></slot>
        </div>
        <div class="toolbar-right">
            <slot name="right"></slot>
        </div>
    </div>
</template>

<script>

</script>

<style scoped>
.toolbar {
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px 12px 16px;
    background-color: #fff;
    border-bottom: 1px solid #eee;
}

.toolbar-left,
.toolbar-center,
.toolbar-right {
    display: flex;
    align-items: center;
}

.toolbar-left {
    justify-content: flex-start;
}

.toolbar-center {
    justify-content: center;
}

.toolbar-right {
    justify-content: flex-end;
}
</style>